﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Heima.OA.Model
{
    public enum DelFlagEnum
    {
        /// <summary>
        /// 正常状态
        /// </summary>
        Normal=0,
        /// <summary>
        /// 已删除状态
        /// </summary>
        Deleted=1

    }
    public enum HasPermissionEnum
    {
        /// <summary>
        /// 拒绝
        /// </summary>
        Refuse=0,
        /// <summary>
        /// 允许
        /// </summary>
        Allow=1,
    }
    public class AllEnum
    {
        public enum BusinessTypeEnum
        {
            申报=1,
            核查=2
        }
        public enum IsTransferCheckEnum
        {
            默认=0,
            确认申报转核查=1,
            已转核查=2,
            转核查失败=10
        }
        public enum IsLeafEnum
        {
            是=1,
            否=0
        }
        public enum AuditOneStateEnum
        {
            审核通过=1,
            审核不通过=0,
        }

    } 
    public class AllDic
    {
        public static Dictionary<string, int> AttaTypeDic
        {
            get
            {
                Dictionary<string, int> dic = new Dictionary<string, int>();
                dic.Add("doc", 1);
                dic.Add("docx", 1);
                dic.Add("xls", 2);
                dic.Add("xlsx", 2);

                return dic;
            }
        }
    }

}
